#ifndef RGB_H
#define RGB_H

#include <tinyxml.h>

#include "type.h"
#include "Color.h"

namespace swfstream {
class RGB: public Color {
public:
	byte r;
	byte g;
	byte b;
	void print();
	static RGB *from_file(FILE* f);
	virtual TiXmlElement* toTiXmlElement();
	//	size_t size_in_file() const{return 3;}
};
}
#endif
